package com.usian.fegin;

import com.usian.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("leadnews-user")
public interface AuthorFegin {

    @RequestMapping("/user/api/v1/user/findById/{id}")
    public ApUser findById(@PathVariable(value = "id") Integer id);

}
